<?php
$hotword=include(DDROOTPATH.'/data/hotword.php');
?>
<div id="searchbar">
  <div class="searchmain">
      <table border="0">
        <tr>
          <td width="680px" style="padding-left:10px">热门搜索：<?php for($i=0;$i<$hotword['num'];$i++){?> <a href="list.php?q=<?=rawurlencode($hotword['word'][$i])?>"><?=$hotword['word'][$i]?></a>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#cdcccc">|</span>&nbsp;&nbsp;&nbsp;&nbsp;<?php }?></td>
          <td width="" align="right"><a href="<?=$action_url?>?cid=<?=$cid?>&start_price=<?=$start_price?>&end_price=<?=$end_price?>&sort=<?=$sort?>&area=<?=urlencode($area)?>&guarantee=<?=$guarantee?>&list=0&q=<?=urlencode($q)?>&nick=<?=urlencode($nick)?>&page=<?=$page?>" class="noline"><img src="template/<?=MOBAN?>/images/list<?=$list?>.gif" alt="小图片模式" width="16" height="16" /></a>&nbsp;&nbsp;<a href="<?=$action_url?>?cid=<?=$cid?>&start_price=<?=$start_price?>&end_price=<?=$end_price?>&sort=<?=$sort?>&area=<?=urlencode($area)?>&guarantee=<?=$guarantee?>&list=1&q=<?=urlencode($q)?>&nick=<?=urlencode($nick)?>&page=<?=$page?>" class="noline"><img src="template/<?=MOBAN?>/images/liebiaoda<?=$list?>.gif" alt="大图片模式" width="16" height="16" /></a></td>
        </tr>
      </table>
  </div>
</div>